home *** CD-ROM | disk | FTP | other *** search
/ Nebula 2 / Nebula Two.iso / SourceCode / MiscKit1.7.1 / MiscKit / Examples / TreeView / Line.h < prev    next >
Encoding:
Text File  |  1995-04-12  |  635 b   |  26 lines

  1. //        Written by Don Yacktman Copyright (c) 1994 by Don Yacktman.
  2. //                Version 1.0.  All rights reserved.
  3. //
  4. //        This notice may not be removed from this source code.
  5. //
  6. //    This program is included in the MiscKit by permission from the author
  7. //    and its use is governed by the MiscKit license, found in the file
  8. //    "LICENSE.rtf" in the MiscKit distribution.  Please refer to that file
  9. //    for a list of all applicable permissions and restrictions.
  10. //    
  11.  
  12.  
  13. #import <appkit/appkit.h>
  14.  
  15. @interface Line:Object
  16. {
  17.     NXPoint start;
  18.     NXPoint end;
  19. }
  20.  
  21. - setStart:(NXPoint *)s end:(NXPoint *)e;
  22. - render;
  23. - renderIfInRect:(const NXRect *)aRect;
  24.  
  25. @end
  26.